import org.softmed.reflection.utils.ReflectionUtil;
import org.restlet.data.MediaType;
import org.restlet.data.Status;
import java.lang.reflect.Field;
import java.lang.reflect.Method;

Class[] params = new Class[1];
Object[] args = new Object[1];
args[0] = null;

ReflectionUtil reflexUtil = new ReflectionUtil();
Field fieldReflect = null;
try {
		fieldReflect = reflexUtil.getField(classe, field);
		params[0] = fieldReflect.getType();
} catch (Throwable t) {
		parameters.getResponse().setStatus(
						Status.CLIENT_ERROR_BAD_REQUEST);
		throw new StopException();

}

Method setter = reflexUtil.getSetter(classe,
					fieldReflect.getType(), field);

setter.invoke(object, args);